package com.cherrypt.api.model.bo;

import com.cherrypt.api.model.dataobject.Attach;

/**
 * @author intent
 * @date 2019/7/27 16:01
 * @about <link href='http://zzyitj.xyz/'/>
 */
public class AttachBo {
    public static Attach getAttach(int userId, String fileName, long fileSize, String filePath, String fileType) {
        Attach attach = new Attach();
        attach.setUid(userId);
        attach.setFileName(fileName);
        attach.setFileSize(fileSize);
        attach.setFilePath(filePath);
        attach.setFileType(fileType);
        return attach;
    }
}
